export default [
  {
    path: "/orderManagement/patrolOrder/details",
    name: "patrolOrderDetails",
    meta: {
      title: "巡视工单",
      code: "patrolOrder",
    },
    component: () => import("@/views/orderManagement/patrolOrder/details"),
  },
  {
    path: "/orderManagement/defectOrder/details",
    name: "defectOrderDetails",
    meta: {
      title: "缺陷工单",
      // defectOrder ——> defectOrderNew， 和菜单标识对应上，否则获取不到权限
      code: "defectOrderNew",
    },
    component: () => import("@/views/orderManagement/defectOrder/property/details"),
  },
  {
    path: "/orderManagement/normalMaintenance/details",
    name: "normalMaintenanceDetails",
    meta: {
      title: "正常维护工单",
      menuType: "maintain",
      code: "normalMaintenance", //用来获取角色页面权限
    },
    component:() => import("@/views/orderManagement/normalMaintenance/details"),
  },
  //YC
  {
    path: "/orderManagement/ycNormalMaintenance/details",
    name: "ycNormalMaintenanceDetails",
    meta: {
      title: "正常维护工单",
      menuType: "maintain",
      code: "normalMaintenance", //用来获取角色页面权限
    },
    component: () => import("@/views/orderManagement/ycNormalMaintenance/details"),
  },
  {
    path: "/orderManagement/experimentOrder/details",
    name: "experimentOrderDetails",
    meta: {
      title: "试验工单",
      menuType: "experiment",
      code: "experimentOrder",
    },
    component: () => import("@/views/orderManagement/normalMaintenance/details"),
  },
  //YC
  {
    path: "/orderManagement/ycExperimentOrder/details",
    name: "ycExperimentOrderDetails",
    meta: {
      title: "试验工单",
      menuType: "experiment",
      code: "experimentOrder",
    },
    component: () => import("@/views/orderManagement/ycNormalMaintenance/details"),
  },
  {
    path: "/orderManagement/overhaul/details",
    name: "overhaulDetails",
    meta: {
      title: "大修工单",
      code: "overhaul",
    },
    component: () => import("@/views/orderManagement/overhaul/details"),
  },
  //YC
  {
    path: "/orderManagement/ycOverhaul/details",
    name: "ycOverhaulDetails",
    meta: {
      title: "大修/重置工单",
      code: "overhaul",
    },
    component: () => import("@/views/orderManagement/ycOverhaul/details"),
  },
  {
    path: "/orderManagement/overhaulApplication/details",
    name: "overhaulApplicationDetails",
    meta: {
      title: "检修申请单",
      code: "overhaulApplication",
    },
    component: () => import("@/views/orderManagement/overhaulApplication/detail"),
  },
  {
    path: "/orderManagement/classification/details",
    name: "classificationDetails",
    meta: {
      title: "分级分项验收",
      code: "classification",
    },
    component: () => import("@/views/orderManagement/classification/details"),
  },
  {
    path: "/orderManagement/concessionAccept/details",
    name: "concessionAcceptDetails",
    meta: {
      title: "让步接收单",
      code: "concessionAccept",
    },
    component: () => import("@/views/orderManagement/concessionAccept/details"),
  },
  {
    path: "/orderManagement/majorIssues/details",
    name: "majorIssuesDetails",
    meta: {
      title: "重大问题单",
      code: "majorIssues",
    },
    component: () => import("@/views/orderManagement/majorIssues/details"),
  },
  {
    path: "/orderManagement/planRepair/details",
    name: "planRepairDetails",
    meta: {
      title: "计划性检修",
      menuType: "repair",
      code: "planRepair",
    },
    component: () => import("@/views/orderManagement/normalMaintenance/details"),
  },
  //YC
  {
    path: "/orderManagement/ycPlanRepair/details",
    name: "ycPlanRepairDetails",
    meta: {
      title: "计划性检修",
      menuType: "repair",
      code: "planRepair",
    },
    component: () => import("@/views/orderManagement/ycNormalMaintenance/details"),
  },
  {
    path: "/orderManagement/defectDegradation/details",
    name: "defectDegradationDetails",
    meta: {
      title: "缺陷降级单",
      code: "defectDegradation",
    },
    component: () => import("@/views/orderManagement/defectDegradation/details"),
  },
  {
    path: "/orderManagement/defectPending/details",
    name: "defectPendingDetails",
    meta: {
      title: "缺陷待处理单",
      code: "defectPending",
    },
    component: () => import("@/views/orderManagement/defectPending/details"),
  },
  {
    path: "/orderManagement/orderChange/details",
    name: "orderChangeDetails",
    meta: {
      title: "工单变更",
      code: "orderChange",
    },
    component: () => import("@/views/orderManagement/orderChange/details"),
  },
  {
    path: "/productionReport/details",
    name: "productionReportDetails",
    meta: {
      title: "生产报表",
      code: "productionReport",
    },
    component: () => import("@/views/productionReport/details"),
  },
  {
    path: "/orderManagement/defectOrder/defectOrderPrint",
    name: "defectOrderPrint",
    meta: {
      title: "缺陷工单打印预览",
      code: "defectOrderPrint",
    },
    component: () => import("@/views/orderManagement/defectOrder/property/applyTable copy"),
  },
  {
    path: "/orderManagement/ycNormalMaintenance/print",
    name: "maintenancePrint",
    meta: {
      title: "维护/大修/计划检修预览打印",
      code: "maintenancePrint"
    },
    component: () => import("@/views/orderManagement/ycNormalMaintenance/applyTable.vue")
  },
  {
    path: "/orderManagement/ycOverhaul/print",
    name: "overhaulPrint",
    meta: {
      title: "大修工单预览打印",
      code: "overhaulPrint"
    },
    component: () => import("@/views/orderManagement/ycOverhaul/applyTable.vue")
  }
];